namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_S_BLENDSAMPLE_RL")]
    public partial class V_S_BLENDSAMPLE_RL
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(40)]
        public string BLEND_ID { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(40)]
        public string BLEND_CODE { get; set; }

        public bool? SAMPLE_TYPE { get; set; }

        [StringLength(6)]
        public string SAMPLE_TYPE_STR { get; set; }

        [StringLength(40)]
        public string BATCH_CODE { get; set; }

        public decimal? BLEND_WEIGHT { get; set; }

        [StringLength(40)]
        public string P_USER_ID { get; set; }

        [StringLength(200)]
        public string P_USER_NAME { get; set; }

        public DateTime? P_TIME { get; set; }

        public bool? STATUS { get; set; }

        [StringLength(6)]
        public string STATUS_STR { get; set; }

        [StringLength(40)]
        public string BLEND_USER_ID { get; set; }

        [StringLength(200)]
        public string BLEND_USER_NAME { get; set; }

        [StringLength(32)]
        public string RFID { get; set; }
        public int? BLEND_PAIL_NUM { get; set; }

        public DateTime? BEGIN_TIME { get; set; }

        public DateTime? END_TIME { get; set; }

        public bool? MADE { get; set; }

        [StringLength(6)]
        public string MADE_STR { get; set; }

        [StringLength(40)]
        public string TEAM_ID { get; set; }

        [StringLength(50)]
        public string TEAM_NAME { get; set; }

        [StringLength(40)]
        public string CREW_ID { get; set; }

        [StringLength(50)]
        public string CREW_NAME { get; set; }
    }
}
